package com.frxuexi.base.db

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "order")
data class OrderEntity(

    @PrimaryKey(autoGenerate = true)
    val id:Long?=null,
    val sid:Int,//商品Id
    val orderNo:String,
    val img:String,
    val title:String,
    val num:Int,
    val price:Double,
    val sum:Double,
    val time:String,
    var status:Int,//1:待付款,2:待发货，3:待收货，4：待评论，5：退货,6:取消订单
)
